<script setup lang="ts">
import Header from "./components/Header/Header.vue";
import {onMounted, ref} from "vue";

const HeaderRef = ref(null)
const hRef = ref(null)

onMounted(() => {
  console.log(HeaderRef.value)
  console.log(hRef.value)
})
</script>

<template>
  <div class="app">
    <Header ref="HeaderRef"></Header>
    <h1 ref="hRef">我是h1标签</h1>
  </div>
</template>
